package creational.abstractfactory;

import creational.abstractfactory.product.Computer;
import creational.abstractfactory.product.Keyboard;
import creational.abstractfactory.product.Phone;
import creational.abstractfactory.product.huawei.HuaWeiComputer;
import creational.abstractfactory.product.huawei.HuaWeiKeyboard;
import creational.abstractfactory.product.huawei.HuaWeiPhone;

public class HuaweiFactory implements BrandFactory{
    @Override
    public Computer createComputer() {
        return new HuaWeiComputer();
    }

    @Override
    public Keyboard createKeyboard() {
        return new HuaWeiKeyboard();
    }

    @Override
    public Phone createPhone() {
        return new HuaWeiPhone();
    }
}
